package cn.com.taiji.oospub.wechat.service;

import cn.com.taiji.oospub.wechat.entity.Courses;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.dreamyoung.mprelation.IService;

import java.time.LocalDate;
import java.util.List;


/**
 * <p>
 * 菜品表 服务类
 * </p>
 *
 * @author
 * @since 2020-10-30
 */
public interface ICoursesService extends IService<Courses> {


    List<String> queryDistinctTian(QueryWrapper<Courses> queryModel);

    List<String> queryDistinctMealId(QueryWrapper<Courses> queryModel);

    Courses findById(String courseId);

    List<Courses> listdayMenu(String menuTimeCode, String schoolId, String dateNum, String lb, String restaurantId);

    List<Courses> listTopCourse(String menuTimeCode, String schoolId, String dateNum, String lb, String restaurantId);

    Courses findByProperty(String coulumName, String value);

    Boolean clearCourses(String mealCode, LocalDate localDate);
}
